package com.ericsson.eritask.dao;

import java.util.List;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.ericsson.eritask.domain.Role;

@Repository
public class JdbcRoleDAO implements RoleDAO {
	
	/*@PersistenceContext
	private EntityManager entityManager;*/
	

	@Override
	@Transactional
	public void insert(Role role) {

		//entityManager.persist(role);
		
	}


	@Override
	public List<Role> finAll() {
		// TODO Auto-generated method stub
		return null;
	}

	
}
